﻿//-----------------------------------------------------------------------
// <copyright file="LogginProvider.cs" company="OverrideThis">
//     Copyright (c) 2010 OverrideThis.com
// </copyright>
//-----------------------------------------------------------------------
namespace OverrideThis.Core.Infrastucture.Logger.Impl
{
    using log4net;

    public class LogProvider : ILogProvider
    {
        private readonly ILog logger = LogManager.GetLogger("OverrideThis");

        #region Implementation of ILogger

        public void Debug(string message)
        {
            logger.Debug(message);
        }

        public void Info(string message)
        {
            logger.Info(message);
        }

        public void Warn(string message)
        {
            logger.Warn(message);
        }

        public void Error(string message)
        {
            logger.Error(message);
        }

        public void Fatal(string message)
        {
            logger.Fatal(message);
        }

        #endregion
    }
}
